package com.frank.oj.service.admin.discussion;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.frank.model.entity.discussion.Discussion;
import com.frank.model.entity.discussion.DiscussionReport;
import com.frank.oj.common.exception.StatusFailException;
import com.frank.oj.common.result.CommonResult;
import com.frank.oj.model.vo.DiscussionReportVO;

import java.util.List;

/**
 * @author frank
 * @Date 2024/4/7
 */
public interface AdminDiscussionService {
    IPage<DiscussionReportVO> getDiscussionReport(Integer currentPage, Integer limit);

    void updateDiscussionReport(DiscussionReport discussionReport) throws StatusFailException;

    void updateDiscussion(Discussion discussion) throws StatusFailException;

    void deleteDiscussion(List<Integer> didList) throws StatusFailException;
}
